﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class AnswerExamPrefab : MonoBehaviour {
    public Image m_BackgroundImg;
    public Text m_NumberText, m_NameText;
    public string m_Editor,m_Stem;

	public void SetState(bool isOn) {
        if (isOn) {
            m_BackgroundImg.color = Color.gray;
        } else {
            m_BackgroundImg.color = Color.white;
        }
    }
    public void OnClcik() {
        AnswerMgr.s_Instance.OnExamClick(this);
    }
}
